package io.renren.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.dao.DataEmployeeachiRecordDao;
import io.renren.entity.DataEmployeeachiRecordEntity;
import io.renren.service.DataEmployeeachiRecordService;



@Service("dataEmployeeachiRecordService")
public class DataEmployeeachiRecordServiceImpl implements DataEmployeeachiRecordService {
	@Autowired
	private DataEmployeeachiRecordDao dataEmployeeachiRecordDao;
	
	@Override
	public DataEmployeeachiRecordEntity queryObject(String id){
		return dataEmployeeachiRecordDao.queryObject(id);
	}
	
	@Override
	public List<DataEmployeeachiRecordEntity> queryList(Map<String, Object> map){
		return dataEmployeeachiRecordDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return dataEmployeeachiRecordDao.queryTotal(map);
	}
	
	@Override
	public void save(DataEmployeeachiRecordEntity dataEmployeeachiRecord){
		dataEmployeeachiRecordDao.save(dataEmployeeachiRecord);
	}
	
	@Override
	public void update(DataEmployeeachiRecordEntity dataEmployeeachiRecord){
		dataEmployeeachiRecordDao.update(dataEmployeeachiRecord);
	}
	
	@Override
	public void delete(String id){
		dataEmployeeachiRecordDao.delete(id);
	}
	
	@Override
	public void deleteBatch(String[] ids){
		dataEmployeeachiRecordDao.deleteBatch(ids);
	}

	@Override
	public void deleteByMonth(String month) {
		// TODO Auto-generated method stub
		dataEmployeeachiRecordDao.deleteByMonth(month);
	}
	
}
